#define  _CRT_SECURE_NO_WARNINGS 1

#include "Queue.h"

int main()
{
	Queue Qu;
	QueueInit(&Qu);
	QueuePush(&Qu, 1);
	QueuePush(&Qu, 2);
	QueuePush(&Qu, 3);
	QueuePush(&Qu, 4);
	while (!QueueEmpty(&Qu))
	{
		printf("%d ", QueueFront(&Qu));
		QueuePop(&Qu);
	}


	return 0;
}


#if 0
#include "stack.h"

int main()
{
	Stack st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	while (!StackEmpty(&st))
	{
		printf("%d ", StackTop(&st));
		StackPop(&st);
	}

	return 0;
}
#endif